/*
 * @Author: likang xie
 * @Date: 2019-07-15 13:38:32
 * @Usage 正则大全
 */

export default {
  phone: /^1\d{10}$/,
  email: /^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/,
  id: /^\d{6}(18|19|20)\d{2}(0\d|11|12)([0-2]\d|30|31)\d{3}(\d|X|x)$/,
  qq: /^[1-9][0-9]{4,10}$/,
  bank: /^([1-9]{1})(\d{15}|\d{18})$/,
  name: /^([\u4e00-\u9fa5·]{2,10})$/,
  chinese: /\d{3}-\d{8}|\d{4}-\d{7}/,
  english: /^[a-zA-Z]+$/,
  number: /^\d{1,}$/,
  username: /^[a-zA-Z0-9_-]{4,16}$/,
  password: /^.*(?=.{6,})(?=.*\d)(?=.*[A-Z])(?=.*[a-z])(?=.*[!@#$%^&*? ]).*$/,
};
